<?php

namespace common\models;

use Yii;

/**
 * This is the model class for table "{{%questats}}".
 *
 * @property int $statId 统计编号
 * @property int $statDate 统计日期
 * @property int $queTotal 排队人次
 * @property int $inTotal 核销（进店）人次
 * @property int $passTotal 过号人次
 * @property int $inPer 进店率
 * @property int $passPer 过好率
 * @property int $ctime 数据生成时间
 */
class Questats extends \yii\db\ActiveRecord
{
    /**
     * {@inheritdoc}
     */
    public static function tableName()
    {
        return '{{%questats}}';
    }

    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            [['statDate', 'queTotal', 'inTotal', 'passTotal', 'inPer', 'passPer', 'ctime'], 'integer'],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels()
    {
        return [
            'statId' => Yii::t('app', 'Stat ID'),
            'statDate' => Yii::t('app', 'Stat Date'),
            'queTotal' => Yii::t('app', 'Que Total'),
            'inTotal' => Yii::t('app', 'In Total'),
            'passTotal' => Yii::t('app', 'Pass Total'),
            'inPer' => Yii::t('app', 'In Per'),
            'passPer' => Yii::t('app', 'Pass Per'),
            'ctime' => Yii::t('app', 'Ctime'),
        ];
    }
}
